package com.site.wisdom_construction.service.partyConstructionModule;

import com.site.wisdom_construction.dao.partyConstructionModule.PartyConstructionVideoDao;
import com.site.wisdom_construction.entity.partyConstructionModule.PartyConstructionVideo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/1/21
 * @Description
 */
@Service
public class PartyConstructionVideoService implements PartyConstructionVideoDao {
    @Autowired
    private PartyConstructionVideoDao partyConstructionVideoDao;

    @Override
    public int insertPartyConstructionVideo(Map map) {
        return partyConstructionVideoDao.insertPartyConstructionVideo(map);
    }

    @Override
    public int deletePartyConstructionVideo(Map map) {
        return partyConstructionVideoDao.deletePartyConstructionVideo(map);
    }

    @Override
    public int updatePartyConstructionVideo(Map map) {
        return partyConstructionVideoDao.updatePartyConstructionVideo(map);
    }

    @Override
    public List<PartyConstructionVideo> findPartyConstructionVideoByPage(Map map) {
        return partyConstructionVideoDao.findPartyConstructionVideoByPage(map);
    }

    @Override
    public long Total(Map map) {
        return partyConstructionVideoDao.Total(map);
    }

    @Override
    public List<PartyConstructionVideo> selectPartyConstructionVideo(Map map) {
        return partyConstructionVideoDao.selectPartyConstructionVideo(map);
    }
}
